package com.shop.cereshop.app.dl.logic.service;

import com.github.pagehelper.PageInfo;
import com.shop.cereshop.app.dl.logic.domain.CereShopCommissionRecord;
import com.shop.cereshop.commons.domain.buyer.CereBuyerUser;

/**
 * @author: 况鑫威
 * @Date: 2021/7/20
 * @Time: 10:09
 * @ClassName: CereShopCommissionRecordService
 * @Description: com.shop.cereshop.app.dl.logic.service
 */
public interface CereShopCommissionRecordService {
    int deleteByPrimaryKey(Long commissionRecordId);

    int insert(CereShopCommissionRecord record);

    int insertSelective(CereShopCommissionRecord record);

    CereShopCommissionRecord selectByPrimaryKey(Long commissionRecordId);

    int updateByPrimaryKeySelective(CereShopCommissionRecord record);

    int updateByPrimaryKey(CereShopCommissionRecord record);

    PageInfo<CereShopCommissionRecord> getCommissionRecords(CereBuyerUser user, Integer page, Integer row);
}
